class Outer {
    public int data1 = 1;
    private  int data2 = 2;
    public static int data3 = 3;

    static class Innerclass {
        public int data4 = 4;
        public  int data5 = 5;
        public  static int data6 = 6;

        public void test() {
            Outer outer = new Outer();
            System.out.println(outer.data1);
           System.out.println(outer.data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    }
}
public class Test {
    public static void main(String[] args) {
        Outer.Innerclass inn = new Outer.Innerclass();
            inn.test();
            Outer outer = new Outer();
            System.out.println(outer.data1);
    }
}
